package model.company;

import java.util.Date;

/**
 * Companyinvestor entity. @author MyEclipse Persistence Tools
 */

public class Companyinvestor implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer cid;
	private Integer type;
	private String name;
	private String unitorganizationcode;
	private Integer currency;
	private Double amount;
	private Double holdshares;
	private Date date;

	// Constructors

	/** default constructor */
	public Companyinvestor() {
	}

	/** full constructor */
	public Companyinvestor(Integer cid, Integer type, String name,
			String unitorganizationcode, Integer currency, Double amount,
			Double holdshares, Date date) {
		this.cid = cid;
		this.type = type;
		this.name = name;
		this.unitorganizationcode = unitorganizationcode;
		this.currency = currency;
		this.amount = amount;
		this.holdshares = holdshares;
		this.date = date;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCid() {
		return this.cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUnitorganizationcode() {
		return this.unitorganizationcode;
	}

	public void setUnitorganizationcode(String unitorganizationcode) {
		this.unitorganizationcode = unitorganizationcode;
	}

	public Integer getCurrency() {
		return this.currency;
	}

	public void setCurrency(Integer currency) {
		this.currency = currency;
	}

	public Double getAmount() {
		return this.amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Double getHoldshares() {
		return this.holdshares;
	}

	public void setHoldshares(Double holdshares) {
		this.holdshares = holdshares;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

}